$(function(){
	//登录-垂直居中
	var ch = (document.documentElement.clientHeight-481)/2;
	document.getElementById("login").style.marginTop = ch+"px";
	
	window.onresize=function(){
		var ch = (document.documentElement.clientHeight-481)/2;
		document.getElementById("login").style.marginTop = ch+"px";
	};
	//登录-输入框
	$(".loginForm input").focus(function(){
		$(this).css({"border-color":"#ce0808"});
	});
	$(".loginForm input").blur(function(){
		$(this).css({"border-color":"#d0d0d0"});
	});
})